package com.ruoyi.develop.lnShebei.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备对象 ln__shebei
 *
 * @author qh
 * @date 2024-07-21
 */
public class LnShebei extends BaseEntity {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    private String id;

    @Excel(name = "购买厂家")
    private String supplier;
    /** 设备名称 */
    @Excel(name = "设备名称")
    private String name;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String code;

    /** 设备品牌 */
    @Excel(name = "设备品牌")
    private String pinpai;

    /** 型号 */
    @Excel(name = "型号")
    private String xinghao;

    /** 规格 */
    @Excel(name = "规格")
    private String guige;

    /** 购买日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "购买日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date buyDate;

    /** 位置 */
    @Excel(name = "位置")
    private String addr;

    /** 产能 */
    @Excel(name = "产能")
    private String channeng;

    /** 设备状态（0正常 1停用） */
    @Excel(name = "设备状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 所属车间 */
    @Excel(name = "所属车间")
    private String haveHouse;

    @Excel(name = "数量")
    private BigDecimal counts;

    private String fapiao;
    private String hetong;
    @Excel(name = "单价")
    private BigDecimal money;
    private String type;
    private String baogao;
    @Excel(name = "总金额")
    private BigDecimal allmoney;
    @Excel(name = "制单人")
    private String createBy;
    @Excel(name = "审核人")
    private String shenheName;
    @Excel(name = "经办人")
    private String usename;
    private String shenhestatus;

    @Excel(name = "照片")
    private String pictrue;
    @Excel(name = "名牌")
    private String  mingpai;
    @Excel(name = "用于")
    private String yongyu;

    private String idx;

    private String shuomingshu;

    public String getShuomingshu() {
        return shuomingshu;
    }

    public void setShuomingshu(String shuomingshu) {
        this.shuomingshu = shuomingshu;
    }

    public String getIdx() {
        return idx;
    }

    public void setIdx(String idx) {
        this.idx = idx;
    }

    public String getPictrue() {
        return pictrue;
    }

    public void setPictrue(String pictrue) {
        this.pictrue = pictrue;
    }

    public String getMingpai() {
        return mingpai;
    }

    public void setMingpai(String mingpai) {
        this.mingpai = mingpai;
    }

    public String getYongyu() {
        return yongyu;
    }

    public void setYongyu(String yongyu) {
        this.yongyu = yongyu;
    }

    public String getShenhestatus() {
        return shenhestatus;
    }

    public void setShenhestatus(String shenhestatus) {
        this.shenhestatus = shenhestatus;
    }

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getShenheName() {
        return shenheName;
    }

    public void setShenheName(String shenheName) {
        this.shenheName = shenheName;
    }

    public BigDecimal getAllmoney() {
        return allmoney;
    }

    public void setAllmoney(BigDecimal allmoney) {
        this.allmoney = allmoney;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getCounts() {
        return counts;
    }

    public void setCounts(BigDecimal counts) {
        this.counts = counts;
    }

    public String getBaogao() {
        return baogao;
    }

    public void setBaogao(String baogao) {
        this.baogao = baogao;
    }

    public String getUsename() {
        return usename;
    }

    public void setUsename(String usename) {
        this.usename = usename;
    }

    public String getFapiao() {
        return fapiao;
    }

    public void setFapiao(String fapiao) {
        this.fapiao = fapiao;
    }

    public String getHetong() {
        return hetong;
    }

    public void setHetong(String hetong) {
        this.hetong = hetong;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }
    public void setPinpai(String pinpai)
            {
            this.pinpai = pinpai;
            }

    public String getPinpai()
            {
            return pinpai;
            }
    public void setXinghao(String xinghao)
            {
            this.xinghao = xinghao;
            }

    public String getXinghao()
            {
            return xinghao;
            }
    public void setGuige(String guige)
            {
            this.guige = guige;
            }

    public String getGuige()
            {
            return guige;
            }
    public void setBuyDate(Date buyDate)
            {
            this.buyDate = buyDate;
            }

    public Date getBuyDate()
            {
            return buyDate;
            }
    public void setAddr(String addr)
            {
            this.addr = addr;
            }

    public String getAddr()
            {
            return addr;
            }
    public void setChanneng(String channeng)
            {
            this.channeng = channeng;
            }

    public String getChanneng()
            {
            return channeng;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setHaveHouse(String haveHouse)
            {
            this.haveHouse = haveHouse;
            }

    public String getHaveHouse()
            {
            return haveHouse;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("name",getName())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
            .append("code",getCode())
            .append("pinpai",getPinpai())
            .append("xinghao",getXinghao())
            .append("guige",getGuige())
            .append("buyDate",getBuyDate())
            .append("addr",getAddr())
            .append("channeng",getChanneng())
            .append("status",getStatus())
            .append("haveHouse",getHaveHouse())
        .toString();
    }
}
